package sfy.md.behavior.chainofresponsibility;

public abstract class People {

    PeopleHandler peopleHandler;
    People next;

    void setPeopleHandler(PeopleHandler peopleHandler){
        this.peopleHandler = peopleHandler;

    }
     void setNext(People next){
        this.next = next;
    }

    abstract void handler();
}
